
#ifndef RS485_H
#define	RS485_H

#include <xc.h>
#include <stdbool.h>
#include <stdint.h>
#include "AS5045B.h" 

#ifdef	__cplusplus
extern "C" {
#endif

void Send_String(uint8_t *ch);
void rec485();
void Send485();
uint8_t TX_CheckSum(uint8_t *buf, uint8_t len);

extern uint8_t rec_buff[4],S_Flag;   

#ifdef	__cplusplus
}
#endif

#endif	/* AS5045B_H */

